﻿@model Tradukisto.Model.LocalItem
@section LastCSS{
    @Styles.Render("~/Content/themes/base/css")
    @Styles.Render("~/Content/toast")
}
@Html.Partial("_FilterFields")
<div class="clear"></div>

<div id="createNewHolder" class="createItemLink">
    @Ajax.ActionLink("New item", "CreateNew", new AjaxOptions
{
    UpdateTargetId = "editItem",
    InsertionMode = InsertionMode.Replace,
    HttpMethod = "GET",
    OnSuccess = "showCreateForm"
})<i class="icon-magic"></i>
</div>

<div id="createNewEnumHolder" class="createItemLink">
    @Ajax.ActionLink("New enum", "CreateNewEnum", new AjaxOptions
{
    UpdateTargetId = "editItem",
    InsertionMode = InsertionMode.Replace,
    HttpMethod = "GET",
    OnSuccess = "showCreateEnumForm"
})<i class="icon-magic"></i>
</div>

<div id="resultsHolder"></div>
<div id="editItem" style="display: none"></div>

<div id="waitImageDiv">
    <img alt="" src="~/Images/ajax-load.gif" id="imgWait" />
</div>
@section scripts{
    @Scripts.Render("~/bundles/jqueryval")
    @Scripts.Render("~/bundles/jqueryui")
    @Scripts.Render("~/bundles/toast")
    @Scripts.Render("~/bundles/applocalization")
}